//
//  SleepStagingV2.h
//  Class for calculating sleep
//
//  Created   on 2022/8/16.
//

#import <Foundation/Foundation.h>
#import "SleepStagingResultV2.h"
#import "SleepSourceData.h"

NS_ASSUME_NONNULL_BEGIN

@interface SleepStagingV2 : NSObject

/// The version number of the sleep algorithm library
+(NSString *)versionTag;

/// Compile time of sleep algorithm library
+(NSString *)buildDate;

/// Calculate sleep periods and sleep stages
/// - Parameter originData: Source data for calculating sleep
-(SleepStagingResultV2 *)findSleepDataByLib:(NSMutableArray <SleepSourceData *> *)originData;

// Test use, printing time
-(NSString *)TestformatTimeStamp:(NSTimeInterval)timeInterval;

@end

NS_ASSUME_NONNULL_END
